package com.ruoyi.base.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档信息对象 base_document
 * 
 * @author yepanpan
 * @date 2025-02-12
 */
@Data
public class BaseDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;
    /** 数据主题 */
    @Excel(name = "数据主题")
    private String subjectName;
    @NotNull
    private Long subjectId;

    /** 文档名称 */
    @Excel(name = "文档名称")
    @NotNull
    private String name;

    /** 文档编号 */
    @Excel(name = "文档编号")
    private String num;

    /** 发布部门 */
    @Excel(name = "发布部门")
    @NotNull
    private String publishDepart;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date publishTime;

    /** 状态 */
    @Excel(name = "状态", dictType="ext_status", comboReadDict=true)
    private String status;

    /** 是否置顶 */
    @Excel(name = "是否置顶", dictType="sys_yes_no", comboReadDict=true)
    private String toped;

    /** 文档路径 */
    @Excel(name = "文档路径")
    private String filePath;

    /** PDF文件 */
    @Excel(name = "PDF文件")
    private String pdfPath;


}
